Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Illumination Shaders


Q3LambertIllumination_New

You can use the Q3LambertIllumination_New function to create a new illumination shader that provides Lambert illumination.

TQ3ShaderObject Q3LambertIllumination_New (void);
DESCRIPTION
The Q3LambertIllumination_New function returns, as its function result, a new illumination shader that implements a Lambert illumination model. See "Illumination Models" on page 14-4 for information on the Lambert illumination algorithm.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996